<?php

$linearFlag = false;
if ($idUser)
	$linearFlag = User_Variable::getVariableValue($idUser, "tree_structure_linear_flag");
$arrFolders = TreeStructure::getTreeStructure($treeStructureType, $linearFlag, $idUser);
$curId = NULL;
if (isset($treeStructureCurId) && $treeStructureCurId != NULL)
	$curId = $treeStructureCurId;
$editFlag = false;
if (isset($treeStructureEditFlag) && $treeStructureEditFlag)
	$editFlag = true;
if (!isset($idFolder) || !$idFolder)
	$idFolder = NULL;
	
$login = (isset($login)) ? $login : '';

View_TreeStructure::viewAllTreeStructure($arrFolders, $treeStructureType, $curId, $editFlag, $linearFlag, $idUser, false, $idFolder, false, false, $login );

include(TEMPLATE . 'columns/addingsLinks.php'); 

				 
?>